const designColumns = {
  design: [
    {
      title: '合同/业务编号',
      dataIndex: 'contract_no',
      scopedSlots: { customRender: 'contract_no' }
    },
    {
      title: '顾问/组别/组长',
      dataIndex: 'username',
      scopedSlots: { customRender: 'username' }
    },
    {
      title: '业务名称',
      dataIndex: 'business_name'
    },
    {
      title: '商标类别',
      dataIndex: 'sb_category'
    },
    {
      title: '流程历史信息',
      dataIndex: 'history',
      scopedSlots: { customRender: 'history' }
    },
    {
      title: '定稿文件',
      dataIndex: 'sj_filename',
      scopedSlots: { customRender: 'sj_filename' }
    },
    {
      title: '定稿时间',
      dataIndex: 'sj_confirm_time',
      sorter: true
    },
    {
      title: '下单时间',
      dataIndex: 'submit_mats_time',
      sorter: true
    },
    {
      title: '费用',
      dataIndex: 'official_fee',
      scopedSlots: { customRender: 'official_fee' }
    },
    {
      title: '业务状态',
      dataIndex: 'status2',
      scopedSlots: { customRender: 'status2' }
    },
    {
      title: '所属设计师',
      dataIndex: 'designer',
      scopedSlots: {
        customRender: 'designer'
      }
    },
    {
      title: '操作',
      dataIndex: 'action',
      scopedSlots: { customRender: 'action' }
    }
  ],
  design_filter: [
    {
      title: '合同/业务编号',
      dataIndex: 'contract_no',
      scopedSlots: { customRender: 'contract_no' }
    },
    {
      title: '顾问/组别/组长',
      dataIndex: 'username',
      scopedSlots: { customRender: 'username' }
    },
    {
      title: '业务名称',
      dataIndex: 'business_name'
    },
    {
      title: '商标类别',
      dataIndex: 'sb_category'
    },
    {
      title: '流程历史信息',
      dataIndex: 'history',
      scopedSlots: { customRender: 'history' }
    },
    {
      title: '定稿文件',
      dataIndex: 'sj_filename',
      scopedSlots: { customRender: 'sj_filename' }
    },
    {
      title: '定稿时间',
      dataIndex: 'sj_confirm_time',
      sorter: true
    },
    {
      title: '下单时间',
      dataIndex: 'submit_mats_time',
      sorter: true
    },
    {
      title: '费用',
      dataIndex: 'official_fee',
      scopedSlots: { customRender: 'official_fee' }
    },
    {
      title: '业务状态',
      dataIndex: 'status2',
      scopedSlots: { customRender: 'status2' }
    },
    {
      title: '所属设计师',
      dataIndex: 'designer_name',
      scopedSlots: {
        customRender: 'designer_name'
      }
    },
    {
      title: 'LOGO数量',
      dataIndex: 'converted_logos_num',
      scopedSlots: {
        customRender: 'converted_logos_num'
      }
    },
    {
      title: '操作',
      dataIndex: 'action',
      scopedSlots: { customRender: 'action' }
    }
  ],
  design_list: [
    // {
    //   title: '业务编号',
    //   dataIndex: 'business_no',
    //   scopedSlots: { customRender: 'business_no' }
    // },
    {
      title: '顾问',
      dataIndex: 'username'
    },
    {
      title: '业务名称',
      dataIndex: 'business_name'
    },
    {
      title: '业务组别',
      dataIndex: 'cat_group'
    },
    {
      title: '下单时间',
      dataIndex: 'submit_mats_time'
    },
    {
      title: '定稿时间',
      dataIndex: 'sj_confirm_time'
    },
    {
      title: '所属设计师',
      dataIndex: 'designer'
    },
    {
      title: 'LOGO数量',
      dataIndex: 'converted_logos_num'
    },
    {
      title: '费用',
      dataIndex: 'official_fee',
      scopedSlots: { customRender: 'official_fee' },
      sorter: true
    }
  ],
  designer: [
    {
      title: '合同编号',
      dataIndex: 'contract_no',
      scopedSlots: { customRender: 'contract_no' }
    },
    {
      title: '业务编号',
      dataIndex: 'business_no',
      scopedSlots: { customRender: 'business_no' }
    },
    {
      title: '业务名称',
        dataIndex: 'business_name'
    },
    {
      title: '所属顾问',
        dataIndex: 'username'
    },
    {
      title: '业务状态',
      dataIndex: 'status2'
    },
    {
      title: '顾问提交时间',
      dataIndex: 'submit_mats_time'
    }
  ],
  design_state: [
    {
      title: '设计师',
      dataIndex: 'design_name',
      scopedSlots: { customRender: 'design_name' }
    },
    {
      title: '接稿数',
      dataIndex: 'all_num',
      scopedSlots: { customRender: 'all_num' },
      needTotal: true
    },
    {
      title: '定稿数',
      dataIndex: 'over_num',
      scopedSlots: { customRender: 'over_num' },
      needTotal: true
    },
    {
      title: 'LOGO数量',
      dataIndex: 'converted_logos_num',
      scopedSlots: { customRender: 'converted_logos_num' },
      needTotal: true
    },
    {
      title: '定稿率',
      dataIndex: 'dgl',
      scopedSlots: { customRender: 'dgl' }
    }
  ],
  business_state: [
    {
      title: '业务名称',
      dataIndex: 'business_name',
      width: '500px'
    },
    {
      title: '接稿数',
      dataIndex: 'all_num',
      scopedSlots: { customRender: 'all_num' }
    },
    {
      title: '定稿数',
      dataIndex: 'over_num',
      scopedSlots: { customRender: 'over_num' }
    },
    {
      title: '定稿率',
      dataIndex: 'dgl',
      scopedSlots: { customRender: 'dgl' }
    }
  ],
  designer_list: [
    {
      title: '设计师ID',
      dataIndex: 'uid',
      width: '100px'
    },
    {
      title: '设计师姓名',
      dataIndex: 'username'
    },
    {
      title: '添加时间',
      dataIndex: 'reg_time',
      width: '200px',
      sorter: true
    },
    {
      title: '员工状态',
      dataIndex: 'status',
      scopedSlots: { customRender: 'status' }
    },
    {
      title: '操作',
      dataIndex: 'action',
      scopedSlots: { customRender: 'action' },
      width: '100px'
    }
  ]
}

export default designColumns
